package com.huiyujinrong.qiangdanbao.model;


import com.huiyujinrong.qiangdanbao.bean.OderBean;
import com.huiyujinrong.qiangdanbao.network.AppService;

import javax.inject.Inject;

import happyloan.core.EventBusUtil;

public class OderModel {
    private AppService service;
    @Inject OderModel(AppService service){
        this.service=service;
    }

    public void getOderList(String user_id,int currentPage,int status){
        EventBusUtil<OderBean> util = new EventBusUtil<>();
        util.sendEvent4Call(service.getOderData(user_id,currentPage,status));
    }
}
